Hi, I tried to search for a similar topic but had no luck.
I am trying to insert a layout DXL column that prints any out going link information. I had layout DXL code like this:
Once I added the layout DXL column, the entire column is blank at first. Then as long as I click any object, the entire DXL column is populated with the result run based on the selected object. And if I select another object, the entire DXL column changes again to the value based on the new selection. So instead of "current" being each object as it gets populated, "current" keeps changing depending on what I select. How do I make the DXL column compute as per each object (instead of entire column populated with the same value based on the "selected" object)?
Thank you very much in Advance!
AKCC - Fri Mar 18 16:47:56 EDT 2016 |
Re: Current object keeps changing in layout DXL Hi AKCC 1. use the predefined variable obj instead of current Object. 2. use only one display statement per obj as in
Link l
string s = ""
for l in obj->"*" do{
s = s targetAbsNo(l)"\n"
}
display s
Regards, |
Re: Current object keeps changing in layout DXL Mike.Scharnow - Sat Mar 19 03:02:53 EDT 2016 Hi AKCC 1. use the predefined variable obj instead of current Object. 2. use only one display statement per obj as in
Link l
string s = ""
for l in obj->"*" do{
s = s targetAbsNo(l)"\n"
}
display s
Regards, Thank you very much Mike! That works perfectly as I want it to! |